package org.digital.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("digital_tag_groups")
public class TagGroup {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer mode; //1.主动请求，0被动接收

    private String type;

    private Integer period; // 周期

    private Date createdAt;

    private Date updatedAt;
    @TableLogic
    private Date deletedAt;
}
